package com.sijiao.stock.service.impl;

import com.sijiao.stock.mapper.StockMapper;
import com.sijiao.stock.service.IStockService;
import org.springframework.stereotype.Service;

@Service
public class StockServiceImpl implements IStockService {
    private StockMapper stockMapper;
    @Override
    public boolean changeStock(Long skuId, Long stock,Long stockOffset) {
        stockMapper.saveSkuStock(skuId,stock);
        return true;
    }
}
